.dou-voice {
  width: 100%;
  height: 100vh;
  padding: 16px;
  box-sizing: border-box;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;


  .voice-list {
    display: flex;
    flex-direction: column;
    gap: 12px;

    .voice-item {
      background: #fff;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);

      &.upload {
        height: 80px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: #f5f5f5;
        border: 2px dashed #ddd;
        box-shadow: none;

        .upload-icon {
          font-size: 32px;
          color: #999;
          line-height: 1;
          margin-bottom: 8px;
        }

        .upload-text {
          font-size: 14px;
          color: #999;
        }
      }

      .voice-info {
        padding: 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;

        .voice-title {
          font-size: 14px;
          color: #333;
          flex: 1;
          margin-right: 12px;
        }

        .play-button {
          width: 36px;
          height: 36px;
          display: flex;
          align-items: center;
          justify-content: center;
          color: var(--nutui-color-primary);
          cursor: pointer;
        }
      }

      .progress-bar {
        padding: 0 16px 16px;
        
        :global {
          .nut-progress {
            height: 2px;
          }
        }
      }
    }
  }
  .title {
    margin-top: 20px;
    display: flex;
    align-items: center;

    .icon {
      width: 4px;
      height: 20px;
      border-radius: 2px;
      background-color: var(--app-color-primary);
      margin-right: 8px;
    }
  }

  .content {
    font-size: 14px;
    margin-top: 8px;
    line-height: 24px;
  }
  .primary {
    color: var(--app-color-primary);
  }

  .dialog-content {
    padding: 16px;
    
    :global {
      .nut-input {
        background: #f5f5f5;
        border-radius: 4px;
        padding: 8px;
        margin-bottom: 16px;
      }

      .submit-btn {
        width: 100%;
      }
    }
  }

  .upload-popup {
    padding: 16px;
    padding-bottom: 100px;
    z-index: 1000;

    .popup-title {
      font-size: 18px;
      font-weight: 500;
      text-align: center;
      margin-bottom: 24px;
    }

    .upload-form {
      .form-item {
        margin-bottom: 16px;

        &:last-child {
          margin-bottom: 0;
        }

        .voice-name-input {
          background: #f5f5f5;
          border-radius: 4px;
          padding: 8px;
        }

        .select-voice-btn,
        .submit-btn {
          width: 100%;
        }
      }
    }
  }
}
